﻿using System;
using System.Windows.Forms;

namespace DATA_SERVER
{
    public partial class LoginForm : Form
    {
        public static string user;
        public static string password;

        public LoginForm()
        {
            InitializeComponent();
        }

        private void LoginForm_Load(object sender, EventArgs e)
        {
            this.Activate();
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            user = tb_name.Text;
            password = tb_password.Text;
            this.Close();
        }

        private void buttonCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
